package com.mitlab.dev.draw.samleClass;

import java.lang.reflect.Field;
import java.util.List;

public class Address {
	private String person;
	private int age;
    
	public int getCopy(){
		return 100;
	}
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	
	public Address getAddressById(String addressId){
		return new Address();
	}
	
	public List<Address> getAllAddress(Address Address,String person){
		return null;
	}

	
	public static void main(String args[]){
		Field [] fields=Address.class.getFields();
		for(Field f:fields){
			System.out.println("name:"+f.getName()+"--type:"+f.getType());
			
		}
	}
	
}
